<?php

namespace App\Http\Requests\Auth;

use App\Http\Requests\Request;

class AuthRequest extends Request
{
    public function rules()
    {
        return [
            'mobile' => 'required',
            'password' => 'required'
        ];
    }

    public function messages()
    {
        return [
            'mobile.required' => '手机号不能为空',
            'password.required' => '密码不能为空'
        ];
    }
}
